﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PreeRegisterModel
{
    /// <summary>
    /// 排班号源对比请求内容类
    /// </summary>
    public class WorkCompareRequestModel
    {
        /// <summary>
        /// 排班日期
        /// </summary>
        public string workdate { get; set; }
        /// <summary>
        /// 发送时间
        /// </summary>
        public string senddate { get; set; }
    }

    /// <summary>
    /// 排班号源对比返回内容类
    /// </summary>
    public class WorkCompareResponseModel
    {
        /// <summary>
        /// 医院ID
        /// </summary>
        public string hospid { get; set; }
        /// <summary>
        /// 对端发送时间
        /// </summary>
        public string rsendtime { get; set; }
        /// <summary>
        /// 对端接收时间
        /// </summary>
        public string rreceivetime { get; set; }
        /// <summary>
        /// 本端发送时间(发起方)
        /// </summary>
        public string sendertime { get; set; }
        /// <summary>
        /// 科室排班号源串
        /// </summary>
        public List<DeptsWorkCompareModel> depts { get; set; }
    }

    /// <summary>
    /// 科室排班对比类
    /// </summary>
    public class DeptsWorkCompareModel
    {
        /// <summary>
        /// 科室ID
        /// </summary>
        public string deptid { get; set; }
        /// <summary>
        /// 排班IDs的hash值(12342,234234,232)各个排班ID升序以英文逗号间隔分开的hash值
        /// </summary>
        public string whash { get; set; }
        /// <summary>
        /// 各个号源ID升序以英文逗号间隔分开的hash值
        /// </summary>
        public string reshash { get; set; }
    }
}
